
const app = {
  name: 'app',
  initialState: {
    loading: false
  },
  sagas: {
    *loading(action,{update,put,call}){
      yield update({loading:action.payload.loading})
    //  window.setTimeout(this.goDetail,3000);
    },
    *update() {

    },
    *fetch() {
      yield console.log("fetching list");
    },
    *update() {

    },
    *destroy() {

    }
  }
}

export default app
